/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fee.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.fee.entity.Type;
import com.jeeplus.modules.fee.mapper.TypeMapper;

/**
 * 费用类型Service
 * @author weisong
 * @version 2017-09-18
 */
@Service
@Transactional(readOnly = true)
public class TypeService extends CrudService<TypeMapper, Type> {

	public Type get(String id) {
		return super.get(id);
	}
	
	public List<Type> findList(Type type) {
		return super.findList(type);
	}
	
	public Page<Type> findPage(Page<Type> page, Type type) {
		return super.findPage(page, type);
	}
	
	@Transactional(readOnly = false)
	public void save(Type type) {
		super.save(type);
	}
	
	@Transactional(readOnly = false)
	public void delete(Type type) {
		super.delete(type);
	}
	
}